/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package domain;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;

/**
 *
 * @author David
 */
public class LayerDTO {
    
    private String name;
    private Set<UnitDTO> units = new HashSet<UnitDTO>();
    private Set<RuleDTO> rules = new HashSet<RuleDTO>();
    private Map<String, LayerDTO> allowedLayers = new HashMap<String, LayerDTO>();
    private int number;
  
    public void setName(String name){
        this.name = name;
    }
    
    public void setUnits(Set<UnitDTO> units){
        this.units = units;
    }
    
    public void setRules(Set<RuleDTO> rules){
        this.rules = rules;
    }
    
    public void setNumber(int number){
        this.number = number;
    }
    
    public void setLayers(Map<String, LayerDTO> layers){
        this.allowedLayers = layers;
    }
    
    public String getName(){
        return this.name;
    }
    
    public Set<UnitDTO> getUnits(){
        return this.units;
    }
    
    public Set<RuleDTO> getRules(){
        return this.rules;
    }
    
    public Map<String, LayerDTO> getAllowedLayers(){
        return this.allowedLayers;
    }
    
    public int getNumber(){
        return this.number;
    }
}
